package review.thread.singleton;

/**
 * @author haomin
 * @date 2022/11/04 20:57
 **/
public class LazyMode1 {
    private static LazyMode1 instance = null;

    public static LazyMode1 getInstance() {
        if (instance == null) {
            instance = new LazyMode1();
        }
        return instance;
    }
    private LazyMode1(){}
}